package state_mode

type EndCase struct {
}

func NewEndCase() State {
	return &EndCase{}
}

func (e *EndCase) Start() (int64, error) {
	return Start, nil
}

func (e *EndCase) Doing() (int64, error) {
	return UnKnown, newMyError(12, "结束状态 不能进行进行操作")
}

func (e *EndCase) End() (int64, error) {
	return UnKnown, newMyError(12, "结束状态 不能进行关闭操作")
}
